package com.ruoyi.settled.service;

import com.ruoyi.settled.domain.GroupLeaderOrders;

import java.util.List;

/**
 * 团长订单Service接口
 * 
 * @author ruoyi
 * @date 2025-01-10
 */
public interface IGroupLeaderOrdersService 
{
    /**
     * 查询团长订单
     * 
     * @param orderCode 团长订单主键
     * @return 团长订单
     */
    public GroupLeaderOrders selectGroupLeaderOrdersByOrderCode(String orderCode);

    /**
     * 查询团长订单列表
     * 
     * @param groupLeaderOrders 团长订单
     * @return 团长订单集合
     */
    public List<GroupLeaderOrders> selectGroupLeaderOrdersList(GroupLeaderOrders groupLeaderOrders);

    /**
     * 新增团长订单
     * 
     * @param groupLeaderOrders 团长订单
     * @return 结果
     */
    public int insertGroupLeaderOrders(GroupLeaderOrders groupLeaderOrders);

    /**
     * 修改团长订单
     * 
     * @param groupLeaderOrders 团长订单
     * @return 结果
     */
    public int updateGroupLeaderOrders(GroupLeaderOrders groupLeaderOrders);

    /**
     * 批量删除团长订单
     * 
     * @param orderCodes 需要删除的团长订单主键集合
     * @return 结果
     */
    public int deleteGroupLeaderOrdersByOrderCodes(String[] orderCodes);

    /**
     * 删除团长订单信息
     * 
     * @param orderCode 团长订单主键
     * @return 结果
     */
    public int deleteGroupLeaderOrdersByOrderCode(String orderCode);
}
